package br.ufc.great.dataguide;

import java.io.Serializable;

/**
 * 
 * @author Leonardo Oliveira Moreira
 *
 * Classe utilizada para representar um item de bloqueio
 */
public class LockItem implements Serializable  {

	private String transactionId;
	private String operationId;
	private int lockType;
	
	public LockItem(String transactionId, String operationId, int lockType) {
		this.transactionId = transactionId;
		this.operationId = operationId;
		this.lockType = lockType;
	}

	public int getLockType() {
		return lockType;
	}

	public String getTransactionId() {
		return transactionId;
	}
	
	public String getOperationId() {
		return operationId;
	}
	
}
